package org.apache.dao;

import java.util.List;

import org.apache.model.ValueObject;

public interface GenericDAO<T extends ValueObject> {

    T insert(T t);

    void delete(T t);

    T update(T t);

    T findOne(Long id);

    List<T> findAll();
}
